home *** CD-ROM | disk | FTP | other *** search
- <refentry id="libgimp-gimpfloatingsel" revision="19 Jan 2001">
- <refmeta>
- <refentrytitle>gimpfloatingsel</refentrytitle>
- <manvolnum>3</manvolnum>
- <refmiscinfo>LIBGIMP Library</refmiscinfo>
- </refmeta>
-
- <refnamediv>
- <refname>gimpfloatingsel</refname><refpurpose></refpurpose>
- </refnamediv>
-
- <refsynopsisdiv><title>Synopsis</title>
- <synopsis>
-
-
-
- <link linkend="gboolean">gboolean</link> <link linkend="gimp-floating-sel-remove">gimp_floating_sel_remove</link> (<link linkend="gint32">gint32</link> floating_sel_ID);
- <link linkend="gboolean">gboolean</link> <link linkend="gimp-floating-sel-anchor">gimp_floating_sel_anchor</link> (<link linkend="gint32">gint32</link> floating_sel_ID);
- <link linkend="gboolean">gboolean</link> <link linkend="gimp-floating-sel-to-layer">gimp_floating_sel_to_layer</link> (<link linkend="gint32">gint32</link> floating_sel_ID);
- <link linkend="gboolean">gboolean</link> <link linkend="gimp-floating-sel-attach">gimp_floating_sel_attach</link> (<link linkend="gint32">gint32</link> layer_ID,
- <link linkend="gint32">gint32</link> drawable_ID);
- <link linkend="gboolean">gboolean</link> <link linkend="gimp-floating-sel-rigor">gimp_floating_sel_rigor</link> (<link linkend="gint32">gint32</link> floating_sel_ID,
- <link linkend="gboolean">gboolean</link> undo);
- <link linkend="gboolean">gboolean</link> <link linkend="gimp-floating-sel-relax">gimp_floating_sel_relax</link> (<link linkend="gint32">gint32</link> floating_sel_ID,
- <link linkend="gboolean">gboolean</link> undo);
- </synopsis>
- </refsynopsisdiv>
-
-
-
-
-
- <refsect1>
- <title>Description</title>
- <para>
-
- </para>
- </refsect1>
-
- <refsect1>
- <title>Details</title>
- <refsect2>
- <title><anchor id="gimp-floating-sel-remove">gimp_floating_sel_remove ()</title>
- <programlisting><link linkend="gboolean">gboolean</link> gimp_floating_sel_remove (<link linkend="gint32">gint32</link> floating_sel_ID);</programlisting>
- <para>
- Remove the specified floating selection from its associated
- drawable.
- </para>
- <para>
- This procedure removes the floating selection completely, without
- any side effects. The associated drawable is then set to active.</para>
- <para>
-
- </para><informaltable pgwide=1 frame="none" role="params">
- <tgroup cols="2">
- <colspec colwidth="2*">
- <colspec colwidth="8*">
- <tbody>
- <row><entry align="right"><parameter>floating_sel_ID</parameter> :</entry>
- <entry> The floating selection.
- </entry></row>
- <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
- </entry></row>
- </tbody></tgroup></informaltable></refsect2>
- <refsect2>
- <title><anchor id="gimp-floating-sel-anchor">gimp_floating_sel_anchor ()</title>
- <programlisting><link linkend="gboolean">gboolean</link> gimp_floating_sel_anchor (<link linkend="gint32">gint32</link> floating_sel_ID);</programlisting>
- <para>
- Anchor the specified floating selection to its associated drawable.
- </para>
- <para>
- This procedure anchors the floating selection to its associated
- drawable. This is similar to merging with a merge type of
- ClipToBottomLayer. The floating selection layer is no longer valid
- after this operation.</para>
- <para>
-
- </para><informaltable pgwide=1 frame="none" role="params">
- <tgroup cols="2">
- <colspec colwidth="2*">
- <colspec colwidth="8*">
- <tbody>
- <row><entry align="right"><parameter>floating_sel_ID</parameter> :</entry>
- <entry> The floating selection.
- </entry></row>
- <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
- </entry></row>
- </tbody></tgroup></informaltable></refsect2>
- <refsect2>
- <title><anchor id="gimp-floating-sel-to-layer">gimp_floating_sel_to_layer ()</title>
- <programlisting><link linkend="gboolean">gboolean</link> gimp_floating_sel_to_layer (<link linkend="gint32">gint32</link> floating_sel_ID);</programlisting>
- <para>
- Transforms the specified floating selection into a layer.
- </para>
- <para>
- This procedure transforms the specified floating selection into a
- layer with the same offsets and extents. The composited image will
- look precisely the same, but the floating selection layer will no
- longer be clipped to the extents of the drawable it was attached to.
- The floating selection will become the active layer. This procedure
- will not work if the floating selection has a different base type
- from the underlying image. This might be the case if the floating
- selection is above an auxillary channel or a layer mask.</para>
- <para>
-
- </para><informaltable pgwide=1 frame="none" role="params">
- <tgroup cols="2">
- <colspec colwidth="2*">
- <colspec colwidth="8*">
- <tbody>
- <row><entry align="right"><parameter>floating_sel_ID</parameter> :</entry>
- <entry> The floating selection.
- </entry></row>
- <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
- </entry></row>
- </tbody></tgroup></informaltable></refsect2>
- <refsect2>
- <title><anchor id="gimp-floating-sel-attach">gimp_floating_sel_attach ()</title>
- <programlisting><link linkend="gboolean">gboolean</link> gimp_floating_sel_attach (<link linkend="gint32">gint32</link> layer_ID,
- <link linkend="gint32">gint32</link> drawable_ID);</programlisting>
- <para>
- Attach the specified layer as floating to the specified drawable.
- </para>
- <para>
- This procedure attaches the layer as floating selection to the
- drawable.</para>
- <para>
-
- </para><informaltable pgwide=1 frame="none" role="params">
- <tgroup cols="2">
- <colspec colwidth="2*">
- <colspec colwidth="8*">
- <tbody>
- <row><entry align="right"><parameter>layer_ID</parameter> :</entry>
- <entry> The layer (is attached as floating selection).
- </entry></row>
- <row><entry align="right"><parameter>drawable_ID</parameter> :</entry>
- <entry> The drawable (where to attach the floating selection).
- </entry></row>
- <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
- </entry></row>
- </tbody></tgroup></informaltable></refsect2>
- <refsect2>
- <title><anchor id="gimp-floating-sel-rigor">gimp_floating_sel_rigor ()</title>
- <programlisting><link linkend="gboolean">gboolean</link> gimp_floating_sel_rigor (<link linkend="gint32">gint32</link> floating_sel_ID,
- <link linkend="gboolean">gboolean</link> undo);</programlisting>
- <para>
- Rigor the floating selection.
- </para>
- <para>
- This procedure rigors the floating selection.</para>
- <para>
-
- </para><informaltable pgwide=1 frame="none" role="params">
- <tgroup cols="2">
- <colspec colwidth="2*">
- <colspec colwidth="8*">
- <tbody>
- <row><entry align="right"><parameter>floating_sel_ID</parameter> :</entry>
- <entry> The floating selection.
- </entry></row>
- <row><entry align="right"><parameter>undo</parameter> :</entry>
- <entry> %<literal>desc</literal>%%.
- </entry></row>
- <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
- </entry></row>
- </tbody></tgroup></informaltable></refsect2>
- <refsect2>
- <title><anchor id="gimp-floating-sel-relax">gimp_floating_sel_relax ()</title>
- <programlisting><link linkend="gboolean">gboolean</link> gimp_floating_sel_relax (<link linkend="gint32">gint32</link> floating_sel_ID,
- <link linkend="gboolean">gboolean</link> undo);</programlisting>
- <para>
- Relax the floating selection.
- </para>
- <para>
- This procedure relaxes the floating selection.</para>
- <para>
-
- </para><informaltable pgwide=1 frame="none" role="params">
- <tgroup cols="2">
- <colspec colwidth="2*">
- <colspec colwidth="8*">
- <tbody>
- <row><entry align="right"><parameter>floating_sel_ID</parameter> :</entry>
- <entry> The floating selection.
- </entry></row>
- <row><entry align="right"><parameter>undo</parameter> :</entry>
- <entry> %<literal>desc</literal>%%.
- </entry></row>
- <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
- </entry></row>
- </tbody></tgroup></informaltable></refsect2>
-
- </refsect1>
-
-
-
-
- </refentry>
-